//
//  圣诞树.c
//  XJZDCC
//
//  Created by 马鹏朔 on 2022/4/21.
//

/*#include<stdio.h>
int main()
{
    int i = 1;
    int j = 1;
    int a = 0;
    int k = 1;
    scanf("%d", &a);
    for (i = 1; i <= a; i++)
    {
            for (k = 1; k < a-i+1; k++)
            {
                printf("   ");
            }
            for(j=1;j<=i;j++)
            {
                printf("  *   ");
            }
            printf("\n");
            for (k = 1; k < a-i+1; k++)
            {
                printf("   ");
            }
            for (j = 1; j <= i; j++)
            {
                printf(" * *  ");
            }
            printf("\n");
            for (k = 1; k < a-i+1; k++)
            {
                printf("   ");
            }
            for (j = 1; j <= i; j++)
            {
                printf("* * * ");
            }
            printf("\n");
    }
    for (i = 0; i < a; i++)
    {
        for (k = 1; k < a; k++)
        {
            printf("   ");
        }
        printf("  *\n");
    }
}*/
